package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/5/29.
 * 单元
 */
@Entity
public class Unit {

    /**
     * eqptGuid : f10033f9-f939-416a-bd64-56da7fd8b730
     * sortNo : 1
     * tswcGuid : a22e89a4-136e-4ef5-b616-f89b098ff904
     * unitId : 7
     * tourUnit : 1#主变保护屏11
     * tplUnitId : 8
     * unitGuid : 6f9f909f-70c7-4649-9c96-9cbe38ef2080
     */
    @Id
    private Long unitId;
    private String eqptGuid;
    private int sortNo;
    private String tswcGuid;
    private String tourUnit;
    private Long tplUnitId;
    private String unitGuid;
    private String routeMap;//巡视路线区域
    private Integer showSortNo;//排序序号
    private int complete = 0;//0-未完成，1-完成
    private int excount = 0;//异常数量








    @Generated(hash = 1345772641)
    public Unit(Long unitId, String eqptGuid, int sortNo, String tswcGuid,
            String tourUnit, Long tplUnitId, String unitGuid, String routeMap,
            Integer showSortNo, int complete, int excount) {
        this.unitId = unitId;
        this.eqptGuid = eqptGuid;
        this.sortNo = sortNo;
        this.tswcGuid = tswcGuid;
        this.tourUnit = tourUnit;
        this.tplUnitId = tplUnitId;
        this.unitGuid = unitGuid;
        this.routeMap = routeMap;
        this.showSortNo = showSortNo;
        this.complete = complete;
        this.excount = excount;
    }

    @Generated(hash = 1236212320)
    public Unit() {
    }








    public String getRouteMap() {
        return routeMap;
    }

    public void setRouteMap(String routeMap) {
        this.routeMap = routeMap;
    }

    public Integer getShowSortNo() {
        return showSortNo;
    }

    public void setShowSortNo(Integer showSortNo) {
        this.showSortNo = showSortNo;
    }

    public int getComplete() {
        return complete;
    }

    public void setComplete(int complete) {
        this.complete = complete;
    }

    public String getEqptGuid() {
        return eqptGuid;
    }

    public void setEqptGuid(String eqptGuid) {
        this.eqptGuid = eqptGuid;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public String getTswcGuid() {
        return tswcGuid;
    }

    public void setTswcGuid(String tswcGuid) {
        this.tswcGuid = tswcGuid;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public String getTourUnit() {
        return tourUnit;
    }

    public void setTourUnit(String tourUnit) {
        this.tourUnit = tourUnit;
    }

    public Long getTplUnitId() {
        return tplUnitId;
    }

    public void setTplUnitId(Long tplUnitId) {
        this.tplUnitId = tplUnitId;
    }

    public String getUnitGuid() {
        return unitGuid;
    }

    public void setUnitGuid(String unitGuid) {
        this.unitGuid = unitGuid;
    }

    public int getExcount() {
        return this.excount;
    }

    public void setExcount(int excount) {
        this.excount = excount;
    }
}
